package com.eric.domain.po;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.util.Date;

@Table("tb_idcard")
@Data
public class IDCard {

    private long accountId;
    private String cardNo;
    private String content;

    private Integer version;


    @Column(isLogicDelete = true,onInsertValue = "0")
    private Integer isDeleted;

    @Column(value = "create_time", onInsertValue = "now()")
    private Date createTime;

    @Column(value = "update_time",onInsertValue = "now()", onUpdateValue = "now()")
    private Date updateTime;
}
